function [weight_shangquan C] = shangquan(raw_data)
%raw_data=[ 6.07	53.96	10.15	52.52	1.54	23.91; 5.72	56.3	7.47	56.44	1.21	52.67; 5.41	56.74	7.08	51.49	1.05	67.24; 5.25	57.69	8.98	53.02	1.02	68.78;5.27	58.41	10.14	59.18	0.99	61.28];
[m,n]=size(raw_data);
C=zeros(m,n);

for i=1:n
    if i==1 | i==4 
        C(:,i)=(max(raw_data(:,i))-raw_data(:,i))./(max(raw_data(:,i))-min(raw_data(:,i)))+0.01;
    else
        C(:,i)=(raw_data(:,i)-min(raw_data(:,i)))./(max(raw_data(:,i))-min(raw_data(:,i)))+0.01;
    end
end
junzhihua=zeros(m,n);
for i=1:n
    junzhihua(:,i)=C(:,i)./sum(C(:,i));
end
plnp=junzhihua.*log(junzhihua);
e=zeros(1,n);
for i=1:n
    e(i)=-1/log(n)*sum(plnp(:,i));
end
chayi=1-e;
weight_shangquan=chayi./sum(chayi);
end